package cn.fjsay.java.demo4;

class Cat extends Animal {
    @Override
    public void cry() {
        System.out.println("Cat meows");
    }

    @Override
    public String getAnimalName() {
        return "Cat";
    }
}